This page last changed on Jan 04, 2010 by scytacki.

Once this is worked on more the pages can be moved around. Currently, I've only been working with the google calendear api.
I wanted to see if I could change the timezone for an imported calendar.

I've been looking at this documentation: http://code.google.com/apis/calendar/data/1.0/developers_guide_protocol.html#AuthClientLogin

First you need to get authentication. This done with curl by doing:
curl -v -d "accountType=HOSTED_OR_GOOGLE" -d "Email=email" -d "Passwd=password" -d "service=cl" -d "source=concordconsortium-fixtmz-1" https://www.google.com/accounts/ClientLogin
Note: that is an lowercase L not a one in the service name

Then you request a list of calendars with this authenication:
curl -H "Authorization: GoogleLogin auth=put auth token from response above here" -H "Content-Type: application/atom+xml" http://www.google.com/calendar/feeds/default/allcalendars/full | xmllint --format -

This returns a redirect so update the request above to follow it

Document generated by Confluence on Jan 27, 2014 16:52